const Layout = () => import('@/layout/index.vue')
const Category = () => import('@/views/product/Category.vue')
const Brand=()=>import('@/views/product/Brand.vue')
const CategoryBrand=()=>import("@/views/product/CategoryBrand.vue")
const ProductSpec=()=>import("@/views/product/ProductSpec.vue")
const ProductList=()=>import("@/views/product/productList.vue")

export default [
    {
        path: '/product',
        component: Layout,
        name: 'product',
        meta: {
            title: '商品管理',
        },
        icon: 'histogram',
        children: [
            {
                path: 'category',
                name: 'category',
                component: Category,
                meta: {
                    title: '分类管理',
                    // affix: true,
                },
                hidden: false
            },
            {
                path: 'brand',
                name: 'brand',
                component: Brand,
                meta: {
                    title: '品牌管理',
                    // affix: true,
                },
                hidden: false
            },
            {
                path: 'categoryBrand',
                name: 'categoryBrand',
                component: CategoryBrand,
                meta: {
                    title: '分类品牌',
                    // affix: true,
                },
                hidden: false
            },
            {
                path: 'productSpec',
                name: 'productSpec',
                component: ProductSpec,
                meta: {
                    title: '商品规格',
                    // affix: true,
                },
                hidden: false
            },
            {
                path: 'productList',
                name: 'productList',
                component: ProductList,
                meta: {
                    title: '商品管理',
                    // affix: true,
                },
                hidden: false
            }
        ]
    }
]
